package com.colorfruit.framework.model;

/**
 * @author xiehf
 * @date 2018/12/23 22:24
 * @concat 370693739@qq.com
 **/
public class ErrorCode {

    public static final int OK=200;


    public static final int BAD_REQUEST=400;
    public static final int UNAUTHORIZED = 401;
    public static final int FORBIDDEN = 403;
    public static final int NOT_FOUNT = 404;

    //微服务不可用
    public static final int MICRO_SERVICE_UNAVAILABLE = 40001;

    public static final int SERVER_ERROR=500;
    public static final int BAD_GATEWAY = 502;
    public static final int SERVICE_UNAVAILABLE=503;

}
